using System;

namespace Project.Views.Abstractions
{
    public abstract class DisposableViewBase : ViewBase, IDisposable
    {
        public void Dispose() => Unsubscribe();

        protected abstract void Subscribe();
        protected abstract void Unsubscribe();
    }
}
